<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			div{
				width: 300px ;
				height: 100px;
				border: black 5px solid;
			}
			.box1{
				position: static;
				left: 100px;/*默认定位移动无效*/
			}
			.box2{
				/* position: relative; */
				display: inline-block;
				/* left: 100px;
				top: 100px; */
			}
			.box3{
				position: absolute;/*脱离文档流*/
				left: 0px;
				
			}
			.box4{
				position: fixed;/*脱离文档流 相对于窗口*/
				
			}
		</style>
	</head>
	<body>
		<div class="box1"></div>
		111111111111111111
		<div class="box2" style="border-color: red;">
			<div class="box3" style="border-color: blue; width: 250px; height: 50px;"></div>
			ahsduhaihda
		</div>
		<div class="box4" style="border-color: yellow;"></div>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
		<p>abcccccc</p>
	</body>
</html>
